'use strict';

function choose_divisible_integer(collection_a, collection_b) {
    let collection=[];
    for (let i=0;i<collection_a.length;i++)
      {
        for (let j=0;j<collection_b.length;j++)
          {
            if(collection_a[i]%collection_b[j]==0)
              collection.push(collection_a[i]);
          }
      }
    return collection;
  //在这里写入代码
}

module.exports = choose_divisible_integer;
